/**
* All Rights Reserved , Copyright (C) 2021 , 青岛鼎信通讯股份有限公司
*
* IMpmProjectTeamTypeService
* 项目组分类
*
* 修改纪录
* 2021-08-09 版本：1.0 mengmeng 创建。
* @version 版本：1.0
* @author 作者：mengmeng
* 创建日期：2021-08-09
*/

package com.topscomm.mpm.service;

import com.topscomm.basic.BasicEntity;
import com.topscomm.mpm.IMpmService;
import com.topscomm.mpm.pojo.MpmProjectTeamTypeEntity;
import com.topscomm.mpm.dao.IMpmProjectTeamTypeDao;

import java.util.List;
import java.util.Map;

public interface IMpmProjectTeamTypeService extends IMpmService<MpmProjectTeamTypeEntity, IMpmProjectTeamTypeDao>{

    /**
    * @Description:    插入团队类型
    * @Author:         mengmeng
    * @Date:           2021/8/9 16:32
    * @Version:        1.0
    */
    MpmProjectTeamTypeEntity insertTeamType(String projectCode, Long appointmentId);


    List<MpmProjectTeamTypeEntity> queryByAppointmentId(String appointmentId);

    List<BasicEntity> insertGenGroup(String projectCode, Long appointmentId);

    Map<String, Object> addTemplateGroup(Map<String, Object> paraMap);

    String revokeTeamType(Map<String, Object> paraMap);
}
